<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/12/14
 * Time: 16:31
 * 添加节点角色关联
 */
$oesrm_oesid   = $route->bodyParams['oesrm_oesid'];      //节点ID
$oesrm_rid     = $route->bodyParams['oesrm_rid'];        //角色ID





//写入数组
$insertArr = [
    'oesrm_oesid'   => $oesrm_oesid,
    'oesrm_rid'     => $oesrm_rid,
];
//执行写入语句
$rsData = $db->mysqlDB->insert("oa_enterprise_structure_role_middle",$insertArr);

//返回成功结果
$response->responseData( true, $rsData );